From: Dan Winship Date: Fri, 2 Sep 2011 16:53:36 +0000 (-0400) Subject: run-js-test: fix X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7806 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=885e194c2552da0ba5769b1bdbb2550bb7138959;p=gnome-shell.git run-js-test: fix Needs to explicitly initialize the ShellGlobal now https://bugzilla.gnome.org/show_bug.cgi?id=649631 --- diff --git a/src/run-js-test.c b/src/run-js-test.c index c89d26fd5..04e9d7f22 100644 --- a/src/run-js-test.c +++ b/src/run-js-test.c @@ -97,6 +97,7 @@ main(int argc, char **argv) setlocale (LC_ALL, ""); g_type_init (); + _shell_global_init (NULL); global = shell_global_get (); js_context = _shell_global_get_gjs_context (global);